home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1999 October
/
PCWorld_1999-10_cd1.bin
/
Software
/
Servis
/
X-setup
/
_SETUP.1
/
XQ OEM Info CPU.xpl
< prev
next >
Wrap
Text File
|
1999-05-28
|
1KB
|
52 lines
"FILE"="Xteq Systems X-Setup Plugin 3.1"
"TYPE"="1"
"COUNT"="2"
"UIPATH"="Appearance\OEM Information"
"NAME"="CPU Information"
"LANGUAGE"="VBScript"
"TEXT 1"="Type Text"
"TEXT 2"="Vendor Text"
"DESCRIPTION 1"="To see these values, select "Start" | "Settings" | "Control Panel" and click "System"."
"DESCRIPTION 2"="Or, press WINDOWS+PAUSE."
"AUTHOR"="Xteq Systems"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
"COMMENT 2"="Version 1.0"
sP1="HKLM\HARDWARE\DESCRIPTION\System\CentralProcessor\0\"
sV1="Identifier"
sV2="VendorIdentifier"
'Called when the Plugin is started
Sub Plugin_Initialize
if RegPathExists(sP1) then
s=RegReadValue(sP1 & sV1)
SetUIElement 1,s
s=RegReadValue(sP1 & sV2)
SetUIElement 2,s
else
Disable
end if
End Sub
'Called when the Plugin should validate the Data the user has entered
Sub Plugin_CheckData(ElementIndex)
End Sub
'Called when the Plugin should apply the changes
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
s=GetUIElement(1)
Call RegWriteValue(sP1 & sV1,s,1)
s=GetUIElement(2)
Call RegWriteValue(sP1 & sV2,s,1)
End Sub
'Called when the Plugin is about to be removed from memory
Sub Plugin_Terminate
End Sub